<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<title>产品生产过程</title>
		<t:base type="jquery,easyui,tools,ace-style"></t:base>
		<script src="webpage/material/productProgress/productProgress.js"></script>
	</head>
	<body>

		<t:formvalid formid="formobj" dialog="true" layout="table"
			action="productProgressController.do?doAddOrUpdate" tiptype="3">
			<input id="id" name="id" type="hidden"
				value="${partTemplatePage.id }">
			<table style="width: 100%;" cellpadding="0" cellspacing="1"
				class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							增加方式:
						</label>
					</td>
					<td class="value">
					    <select name="flag" value="${partTemplatePage.flag }">
					        <option value="1">通过产品信息增加</option>
					        <option value="2">通过产品分类增加</option>
					    </select>

					</td>
				</tr>
				<tr id="productTr">
					<td align="right">
						<label class="Validform_label">
							产品名称:
						</label>
					</td>
					<td class="value">
						<input id="application" name="application" type="text"
							style="width: 150px" class="inputxt" datatype="*"
							value='${partTemplatePage.application}'>
						<span class="Validform_checktip"></span>

					</td>
				</tr>
                <tr id="ptypeTr">
					<td align="right">
						<label class="Validform_label">
							产品分类:
						</label>
					</td>
					<td class="value">
						<input id="application" name="application" type="text"
							style="width: 150px" class="inputxt" datatype="*"
							value='${partTemplatePage.application}'>
						<span class="Validform_checktip"></span>

					</td>
				</tr>

			</table>
			<div style="width: auto; height: 400px;">
				<%-- 增加一个div，用于调节页面大小，否则默认太小 --%>
				<div style="width: 1000px; height: 1px;"></div>
				<t:tabs id="tt" iframe="false" tabPosition="top" fit="false">
					<t:tab href="partTemplateController.do?goPTemplateList&id=${partTemplatePage.id}"
						icon="icon-search" title="产品信息" id="Product"></t:tab>

				</t:tabs>
			</div>

		</t:formvalid>

	</body>